package com.train.pojos;

/**
 * 许嵩
 * */
public class Vae extends Star implements StarAction {
    public Vae(){
        super();
    }
    public Vae(String name,Integer age){
        this.name = name;
        this.age = age;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
    @Override
    public String sing(String songName){
        return this.name + "is singing "+songName;
    }
    @Override
    public String writeSong(String songName){
        return this.name + "is writing song " + songName;
    }
}
